<template>
    <div class="yx-title">
        <slot></slot>
        <van-icon name="arrow" />
    </div>
</template>
<style lang="scss" scoped>
.yx-title{
    height: 48px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}
</style>
